<?php
/** UnivIS update script
 * Fetches content from UnivIS via PRG interface in XML and stores 
 * it into a mysql database
 */

require_once t3lib_extMgm::extPath('univis2typo3').'/mod1/parser/modules/generic_module.php';

class DepartmentsModule extends GenericModule
{
    function DepartmentsModule($module)
    {
	$this->module = $module;
    }

    function getUrl($uConf)
    {
	return $uConf['prg_url']
		. 'number='.$uConf['department']
		. '&search='.$this->module
		. '&show=xml';
    }

    function hasMoreUrls()
    {
	return false;
    }
}
?>
